const filterOption = {
	items: [{
			label: "商品类型",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryLocation"
		},
		{
			label: "库存位置",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryStatus"
		},
		{
			label: "库存状态",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createBy"
		},
		{
			label: "库位",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "产品大类",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "产品中类",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "产品小类",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "款式名称",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "请输入条码／款号／证书号",
			value: undefined,
			key: "submitter"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const path = ['库存中心', '全局库存', '门店库存分布'];
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 0,
	pageSizeArr: [10, 20, 30, 40]
};
const selectBoxOpt = [{
		title: '库存位置',
		type: 'button',
		data: [{
				title: '全部',
				value: 0,
				checked: true,
			},
			{
				title: '门店',
				value: 2,
				checked: false,
			},
			{
				title: '供应链总部',
				value: 1,
				checked: false,
			},
			{
				title: '寄存供应商库存',
				value: 3,
				checked: false,
			},
		],

	},
	{
		title: '库存状态',
		type: 'button',
		data: [{
				title: '全部',
				value: 0,
				checked: true,
			},
			{
				title: '正常',
				value: 1,
				checked: false,
			},
			{
				title: '锁定',
				value: 2,
				checked: false,
			},
			{
				title: '待检',
				value: 2,
				checked: false,
			},
		],

	},
	{
		title: '库位',
		type: 'button',
		data: [{
				title: '全部仓',
				value: 0,
				checked: false,
			},
			{
				title: '成品仓',
				value: 1,
				checked: false,
			},
			{
				title: '售后仓',
				value: 2,
				checked: false,
			},
			{
				title: '借样仓',
				value: 3,
				checked: false,
			},
			{
				title: '包材/礼品仓',
				value: 4,
				checked: false,
			}
		],
		checked: false,
	},
]
let Model = {
	data() {
		return {
			Model: {
				path,
				pager,
				selectBoxOpt,
				filterOption,
				defaultFilterOption: filterOption,
				dialogFormVisible: false,
				nowSelectId: undefined,
				tableData: [{
					number: 1
				}],
				filterOptionData: undefined,
				saleManList: {},
				saleAfterOrderStatus: {},
				selectionList: [],
				searchFromData: {},
				defaultSearchFromData: {},
				// tableData: undefined,
				activeTab: '1',
				detailDialogFlag: false
			}
		}
	}
}
export default Model;
